﻿using System;
using System.Collections.Generic;
using ProteinInsightInterface;
using System.Windows.Forms;
using System.Text;
using System.Drawing;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;

namespace ProteinInsightPlugin
{
    public class MyPlugin : MarshalByRefObject, IProteinInsightPlugin
    {
        public void Run(IProteinInsight PI)
        {
            try
            {
                //    write plug in code here.
                //    Example: PI.Open("1a31");             // Load Protein ID 1a31


            }
            catch (Exception e)
            {
                PI.OutputMsg(e.ToString());
            }
        }

        public String Name
        {
            get
            {
                return "ProteinInsight C# Plug-In Template";
            }
        }
    }
}

